package com.open.capacity.service.impl;

import com.open.capacity.common.model.NavigationModel;
import com.open.capacity.mapper.NavMapper;
import com.open.capacity.service.NavService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class NavServiceImpl implements NavService {
    @Autowired
    private NavMapper navMapper;
    @Override
    public List<NavigationModel> findAllNav() {
        return navMapper.findAllNav();
    }
}
